.PHONY:all calc_server calc_client

all:calc_server calc_client
	~/pc.sh
calc_client:calc_client.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp
calc_server:calc_server.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp
# jsoncpp_test:jsoncpp_test.cc
# 	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp
#	g++ -o $@ $^ -std=c++11 -I/opt/homebrew/include -L/opt/homebrew/lib -ljsoncpp

clean:
	rm -rf calc_client calc_server
